/**
 * @Description TODO
 * @Author hhy
 * @Date 2020/9/22 14:56
 */
public class Animal {
    private String name; //动物的名字
    private String country; //动物来自哪个国家
    private String type; //动物是什么类型的

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public Animal(String name, String country, String type) {
        this.name = name;
        this.country = country;
        this.type = type;
    }

    public void say(){
        System.out.println("动物在叫.....");
    }
}
